package com.yu.waterstation.common.constant;

public class Const {
    // ****************** 时间/秒 ************************ //
    public static final long COSNT_one_minute = 60;
    public static final long CONST_one_hour = COSNT_one_minute * 60;
    public static final long CONST_one_day = CONST_one_hour * 24;
    public static final long CONST_one_week = CONST_one_day * 7;
    public static final long CONST_half_month = CONST_one_week * 2;


    /**
     * 令牌变量名
     */
    public static final String CONST_token = "token";
    public static final String CONST_sys_user_id = "sysUserId";
    public static final String CONST_username = "username";


    //************************ 缓存变量名称 ***************************//
    // 管理员会话缓存
    public static final String CONST_sys_user_session_map = "sys_user_session_map:";

    // ************************ 缓存变量名前缀 *********************** //

    // 验证码
    public static final String CONST_verify_code_redis_prefix = "verify_code:";


}
